package com.health.pojo.domain;

import lombok.Data;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 咨询会话实体对象
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("consultations")
public class ConsultationDO {

    /**
     * 会话ID：主键，自增
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "会话ID：主键，自增")
    private Integer consultationId;

    /**
     * 患者ID
     */
    @Schema(description = "患者ID")
    private Integer patientId;

    /**
     * 医生ID
     */
    @Schema(description = "医生ID")
    private Integer doctorId;

    /**
     * 主诉症状
     */
    @Schema(description = "主诉症状")
    private String chiefComplaint;

    /**
     * 会话起始时间
     */
    @Schema(description = "会话起始时间")
    private Date startedAt;

    /**
     * 会话结束时间
     */
    @Schema(description = "会话结束时间")
    private Date endedAt;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createdAt;
}
